package org.cfd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 配送表
 *
 * @author rjs @TableName distribution
 */
@TableName(value = "distribution")
@Data
public class Distribution implements Serializable {
  @Serial
  @TableField(exist = false)
  private static final long serialVersionUID = 1L;

  /** 配送ID */
  @TableId(type = IdType.AUTO)
  private Integer id;

  /** 配送员ID */
  private Integer couriersId;

  /** 订单ID */
  private Integer orderId;

  /** 开始配送时间 */
  private Date startDeliveryTime;

  /** 送达时间 */
  private Date deliveryTime;

  /** 创建时间 */
  private Date createdAt;

  /** 更新时间 */
  private Date updatedAt;
}
